package com.music.service.music;

import com.music.dto.collection.CollectionPlaylistDTO;
import com.music.dto.utils.TableReqDTO;
import com.music.dto.utils.TableRspDTO;

public interface CollectionPlaylistService {

    /*
     * @Description 根据用户Id列出音乐广场
     * @Author hbh
     * @Date 2021/11/26
     **/
    TableRspDTO list4Table(Long userId, TableReqDTO tableReqDTO) throws Exception;
    /*
     * @Description 新增收藏歌单
     * @Author hbh
     * @Date 2021/11/26
     **/
    Integer add(Long userId, CollectionPlaylistDTO collectionPlaylistDTO) throws Exception;

    /*
     * @Description 取消收藏歌单
     * @Author hbh
     * @Date 2021/12/5
     **/
    Integer removeByUserId(Long userId, Long playlistId) throws Exception;
}
